package com.canxi.earn.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.canxi.common.core.domain.TreeEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.canxi.common.core.domain.BaseEntity;


/**
 * 笑话分类对象 cx_joke_category
 *
 * @author ruoyi
 * @date 2024-09-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("cx_joke_category")
public class CxJokeCategory extends TreeEntity<CxJokeCategory> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private String id;
    /**
     * 父Id
     */
    private String pid;
    /**
     * 所有的父级Id
     */
    private String pids;
    /**
     * 分类名称
     */
    private String name;
    /**
     * 0=不显示，1=显示
     */
    private String status;
    /**
     * 排序
     */
    private Long sort;

}
